with (a) good grace
​in a willing and pleasant way
You must learn to accept defeat with good grace.
We will simply have to accept the situation with a good grace.